// ActionScript file
import healthyPointsManager.pojo.FavoriteFood;

		
		
	
		
		public function getFood1():FavoriteFood{
			var goodFood:FavoriteFood = new FavoriteFood();
			goodFood.id = 20;			
			goodFood.points = 1;
			goodFood.name = "Yummy";
			goodFood.calories = -1;
			goodFood.fat = 12;
			goodFood.fiber = 0;
			goodFood.servingSize = 1;
			goodFood.isQuickAdd = true;
			goodFood.mealTime = morning;			
			return goodFood;				
		}
		
		public function getFood2():FavoriteFood{
			var goodFood:FavoriteFood = new FavoriteFood();
			goodFood.id = 1;
			goodFood.points = 8;
			goodFood.name = "Pizza";
			goodFood.calories = 400;
			goodFood.fat = 12;
			goodFood.fiber = 5;
			goodFood.servingSize = 1;
			goodFood.isQuickAdd = false;
			goodFood.isFavorites = true;			
			return goodFood;				
		}
		
		public function getFood3():FavoriteFood{
			var goodFood:FavoriteFood = new FavoriteFood();
			goodFood.id = 22;
			goodFood.points = 100;
			goodFood.name = "Pastries";
			goodFood.calories = 150;
			goodFood.fat = 0;
			goodFood.fiber = 1;
			goodFood.servingSize = 1;
			goodFood.isQuickAdd = false;
			goodFood.isFavorites = true;			
			return goodFood;				
		}
		
		
		[Bindable]
	    public var mockFoodCollection:ArrayCollection = new ArrayCollection([getFood1(), getFood2(), getFood3()]);
		  
			  
	    